<?php
	global $xajax;
	global $currentPage;
	$currentPage = $_SERVER["PHP_SELF"];
	session_start(); 
	require ("controller/xajax/xajax_core/xajax.inc.php");
	//Instanciando el objeto xajax
	 $xajax = new xajax();
	//Configuranto la ruta del manejador de scriptsd
	$xajax->configure('javascript URI', 'controller/xajax/');
	include("controller/loginController.php");
	include("controller/contactoController.php");
	include("controller/serviciosController.php");
	include("controller/clientesAliadosController.php");
	include("controller/menuBarController.php");
	include("controller/soporteController.php");

	
	$xajax->processRequest();

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Sitef</title>
<link rel="shortcut icon" href="images/Aleta.gif" />
    
<?php $xajax->printJavascript('controller/xajax/');?>
    <link rel="stylesheet" type="text/css" href="css/estilos.css" /></link>
    <script type="text/javascript" language="javascript" src="js/validaciones.js"></script>
    <script type="text/javascript" language="javascript" src="js/mootools.js"></script>    
    <script type="text/javascript" language="javascript" src="js/mootools.v1.11.js"></script>
	<script type="text/javascript" language="javascript" src="js/dom-drag.js"></script>
	<script type="text/javascript" language="javascript" src="js/scriptRafk.js"></script>
    <script type="text/javascript" src="JavaScripts/Tween.js"></script>
	<script type="text/javascript" src="JavaScripts/norwebSlider.js"></script>
<script type="text/javascript" language="javascript" src="js/AC_RunActiveContent.js"></script>

<!--Designer -->
<link rel="stylesheet" type="text/css" media="screen" href="css/menuContainer.css"/>

<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/custom.js"></script>
<script type="text/javascript" src="js/jquery.all_plugins.js"></script>

<!--*************************-->

<link href="css/Slider.css" rel="stylesheet" type="text/css" />
 <script language="JavaScript" type="text/JavaScript">
<!--
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
//-->
 </script>   
<script language="javascript" type="text/javascript">

function validarForm() {
		if(validarCampo('txtUser','t','text') == true && validarCampo('txtPassword','t','contrasena') == true ){
		    xajax_ingresarAdmin(xajax.getFormValues('formLogin'));
			document.getElementById("divMessageHeader").style.display = "none";

		}
		else{
			validarCampo('txtUser','t','text');
			validarCampo('txtPassword','t','contrasena');
			
			document.getElementById("divMessageHeader").style.display = "inline";
			return false;
		}
	}
	
	function showMenuContent(type) {
		xajax_showMenuContent(xajax.getFormValues('formLogin'),type);
	
	}
</script>       
</head>

<body onload="javascript:showContent(1);" style="background:url(../images/bg.jpg) repeat-x top left;" bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" >
 <!--INICIO CONTENEDOR CENTRAL-->
<div class="container-central">
 <form name="formLogin" id="formLogin" method="post" action="">	
         
        <!--    <table class="tabla" width="100%" border="0" align="right" cellspacing="0" cellpadding="0">
              <tr > 
                <td id="error-message" colspan="8"><div id ="divMessageHeader" style= "display:none" class="divMsjError"><label>Faltaron o hubo un error en los datos suministrados </label></div></td>
                </tr>
              <tr>
                <td width="53" valign="top"><label>Usuario:</label></td>
                <td width="176" valign="top"><input type="text" name="txtUser" id="txtUser" class=""/></td>
                <td width="38" valign="top"><label>Clave:</label></td>
                <td width="152" valign="top"><input type="password" name="txtPassword" id="txtPassword" class=""/></td>
                <td width="226" valign="top"><input type="button" name="btnEnten" id="btnEnter" value="Ir" onclick="validarForm();"/></td>
                </tr>
               </table>
              
             </td>
            </tr>
          </table> -->


<!--INICIO HEADER-->
<div class="barra-top">
<ul>
<li><a href="javascript:showMenuContent(7);">CONTACTO</a></li>
<li><a href="javascript:showMenuContent(8);">ADMINISTRADOR</a></li>
</ul>
</div>
<div class="container-navigator">
<a href="javascript:showMenuContent(1);"><img src="images/logo.png" alt="sitef"/></a>
<!--INICIO NAVEGACION-->
<ul>
<li><a href="javascript:showMenuContent(1);">Home</a>
<p>vuelve al inicio</p>
</li>
<li><a href="javascript:showMenuContent(2);">Empresa</a>
<p>conoce a sitef</p>
</li>
<li><a href="javascript:showMenuContent(3);">Servicios</a>
<p>que hacemos</p>
</li>
<li><a href="javascript:showMenuContent(5);">Productos</a>
<p>que ofrecemos</p>
<li><a href="javascript:showMenuContent(4);">Soporte</a>
<p>te ayudamos</p>
</li>
<li><a href="javascript:showMenuContent(6);">Clientes-Aliados</a>
<p>quienes confian en sitef</p>
<li><a target='_blank' href="http://200.71.155.196/sitefweb/">SitefWeb</a>
<p>consultas administrativas</p>
</li>
</ul>
<!--FIN NAVEGACION-->

 </div>
<!--FIN Bar-->
    
</form>
</div>
<!--FIN CONTENEDOR CENTRAL-->

